# name =input('姓名：')
# do = input('在干什么')
#
# template = "%s在教室,%s" %(name,do,)
# print(template)

#直接占位符
# template ="我是%s,年龄%d,职业%s."%("alex",99,"吹牛",)
# print(template)

# name = 'alex'
# template="%s现在手机电量是100%%"%(name,)
# print(template)

#练习
# name =input('输入姓名')
# age = input('输入年龄')
# job=input('职业')
# hobby=input('爱好')
# msg='''
# ----------------info----------------
# name :%s
# age:%s
# job:%s
# hobbie:%s
# ---------------end-------------------
# '''
# print(msg%(name,job,age,hobby))